<template>
  <!-- 浮窗按钮 -->
  <drag-button
    v-if="text === 'test'"
    :isDock="true"
    :existTabBar="true"
    @btnClick="telCall('400-109-1606')"
    @btnTouchstart="btnTouchstart"
    @btnTouchend="btnTouchend"
  />
</template>

<script setup lang="ts">
import dragButton from '@/components/pobulic/test.vue';
import { telCall } from '@/utils/copyText';
const environment = 'formal/';
const text=environment.split('/')[0]
</script>

<style>
.top {
  width: 100%;
  background-color: black;
  color: #fff;
  padding: 20rpx;
  box-sizing: border-box;
}
</style>
